summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2023-05-25 12:03:47 +0200
committerCGantert345 <57003061+CGantert345@users.noreply.github.com>2023-05-25 12:03:47 +0200
commit91507261d564cb2a8b7dd338f92d80738d4646f1 (patch)
tree1f762cbbebc0938f6f7a078d7595dfbe25c6fee1
parentbug fix on passport validation required (diff)
downloadUIC-barcode-91507261d564cb2a8b7dd338f92d80738d4646f1.tar
UIC-barcode-91507261d564cb2a8b7dd338f92d80738d4646f1.tar.gz
UIC-barcode-91507261d564cb2a8b7dd338f92d80738d4646f1.tar.bz2
UIC-barcode-91507261d564cb2a8b7dd338f92d80738d4646f1.tar.lz
UIC-barcode-91507261d564cb2a8b7dd338f92d80738d4646f1.tar.xz
UIC-barcode-91507261d564cb2a8b7dd338f92d80738d4646f1.tar.zst
UIC-barcode-91507261d564cb2a8b7dd338f92d80738d4646f1.zip
-rw-r--r--pom.xml2
-rw-r--r--src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index cdc6c2c..213ef70 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.uic.barcode</groupId>
<artifactId>org.uic.barcode</artifactId>
- <version>1.4.0</version>
+ <version>1.4.1</version>
<packaging>jar</packaging>
<name>UIC barcode</name>
<description>encoding and decoding of Aztec barcode content according to UIC IRS 90918-9</description>
diff --git a/src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java b/src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java
index 31a664b..30777a5 100644
--- a/src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java
+++ b/src/main/java/org/uic/barcode/staticFrame/UHEADDataRecord.java
@@ -255,7 +255,7 @@ public class UHEADDataRecord extends DataRecord{
String timeElement = String.format("%02d%02d%04d%02d%02d",
now.get(Calendar.DAY_OF_MONTH),
- now.get(Calendar.MONTH),
+ now.get(Calendar.MONTH) + 1,
now.get(Calendar.YEAR),
now.get(Calendar.HOUR),
now.get(Calendar.MINUTE));